package org.Thread;

public class Thread_Demo5 {
    public static void main(String[] args) throws InterruptedException {
        MyThread_Demo4 t1 = new MyThread_Demo4();
        t1.setName("飞机");
        t1.start();

        //线程的插入
        //public final void join
        t1.join();
        //执行在t1线程执行完后
        for (int i = 0; i < 10; i++) {
            System.out.println("河山统一"+i);
        }
    }
}
